package com.cljh.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SaleTable {

    private Integer id;
    private String username;
    private Double payCount   ;
    private Long sumCount   ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime ;
    private Integer send;
    private Integer addId;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date sendTime;




    private List<Sale> sales;
}
